build: format-code
	go mod tidy
	go build -o sl src/cmd/sl.go && ./sl

test:
	./sl . > docs/test-this-project-output.txt

install:
	cp sl ~/go/bin/sl

uninstall:
	rm -rf ~/go/bin/sl

clean:
	rm -rf sl dist

format-code:
	gofmt -w src/**/*.go

watch-format-code:
	watchexec make format-code

publish-all-with-goreleaser:
	goreleaser --snapshot --clean

upx-optimize:
	upx --best sl
